<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Nabu-asr: nabu.neuralnetworks.trainers.standard_trainer.StandardTrainer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Nabu-asr
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacenabu.html">nabu</a></li><li class="navelem"><b>neuralnetworks</b></li><li class="navelem"><b>trainers</b></li><li class="navelem"><b>standard_trainer</b></li><li class="navelem"><a class="el" href="classnabu_1_1neuralnetworks_1_1trainers_1_1standard__trainer_1_1StandardTrainer.html">StandardTrainer</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classnabu_1_1neuralnetworks_1_1trainers_1_1standard__trainer_1_1StandardTrainer-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">nabu.neuralnetworks.trainers.standard_trainer.StandardTrainer Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>a trainer with no added functionality  
 <a href="classnabu_1_1neuralnetworks_1_1trainers_1_1standard__trainer_1_1StandardTrainer.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for nabu.neuralnetworks.trainers.standard_trainer.StandardTrainer:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classnabu_1_1neuralnetworks_1_1trainers_1_1standard__trainer_1_1StandardTrainer.png" usemap="#nabu.neuralnetworks.trainers.standard_5Ftrainer.StandardTrainer_map" alt=""/>
  <map id="nabu.neuralnetworks.trainers.standard_5Ftrainer.StandardTrainer_map" name="nabu.neuralnetworks.trainers.standard_trainer.StandardTrainer_map">
<area href="classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer.html" title="General class outlining the training environment of a model. " alt="nabu.neuralnetworks.trainers.trainer.Trainer" shape="rect" coords="0,56,370,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a8a2bdbf758eeb3776308bf9049c44838"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnabu_1_1neuralnetworks_1_1trainers_1_1standard__trainer_1_1StandardTrainer.html#a8a2bdbf758eeb3776308bf9049c44838">aditional_loss</a> (self)</td></tr>
<tr class="memdesc:a8a2bdbf758eeb3776308bf9049c44838"><td class="mdescLeft">&#160;</td><td class="mdescRight">add an aditional loss  <a href="#a8a2bdbf758eeb3776308bf9049c44838">More...</a><br /></td></tr>
<tr class="separator:a8a2bdbf758eeb3776308bf9049c44838"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f13484cde1db47531ea903cd4d0f627"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnabu_1_1neuralnetworks_1_1trainers_1_1standard__trainer_1_1StandardTrainer.html#a5f13484cde1db47531ea903cd4d0f627">chief_only_hooks</a> (self, outputs)</td></tr>
<tr class="memdesc:a5f13484cde1db47531ea903cd4d0f627"><td class="mdescLeft">&#160;</td><td class="mdescRight">add hooks only for the chief worker  <a href="#a5f13484cde1db47531ea903cd4d0f627">More...</a><br /></td></tr>
<tr class="separator:a5f13484cde1db47531ea903cd4d0f627"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff614cac68779a4ba17f933b81e9254d"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnabu_1_1neuralnetworks_1_1trainers_1_1standard__trainer_1_1StandardTrainer.html#aff614cac68779a4ba17f933b81e9254d">hooks</a> (self, outputs)</td></tr>
<tr class="memdesc:aff614cac68779a4ba17f933b81e9254d"><td class="mdescLeft">&#160;</td><td class="mdescRight">add hooks for the session  <a href="#aff614cac68779a4ba17f933b81e9254d">More...</a><br /></td></tr>
<tr class="separator:aff614cac68779a4ba17f933b81e9254d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer.html">nabu.neuralnetworks.trainers.trainer.Trainer</a></td></tr>
<tr class="memitem:af88941cfe44b07b8058fc63367f4f97d inherit pub_methods_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer.html#af88941cfe44b07b8058fc63367f4f97d">__init__</a> (self, conf, dataconf, modelconf, evaluatorconf, expdir, server, task_index)</td></tr>
<tr class="memdesc:af88941cfe44b07b8058fc63367f4f97d inherit pub_methods_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="mdescLeft">&#160;</td><td class="mdescRight">NnetTrainer constructor, creates the training graph.  <a href="classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer.html#af88941cfe44b07b8058fc63367f4f97d">More...</a><br /></td></tr>
<tr class="separator:af88941cfe44b07b8058fc63367f4f97d inherit pub_methods_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43be632325d3b192de1eb48ad1e9794a inherit pub_methods_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer.html#a43be632325d3b192de1eb48ad1e9794a">train</a> (self, testing=False)</td></tr>
<tr class="memdesc:a43be632325d3b192de1eb48ad1e9794a inherit pub_methods_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="mdescLeft">&#160;</td><td class="mdescRight">train the model  <a href="classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer.html#a43be632325d3b192de1eb48ad1e9794a">More...</a><br /></td></tr>
<tr class="separator:a43be632325d3b192de1eb48ad1e9794a inherit pub_methods_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fa74e1e010359cee2bc4e3bd00e88c0 inherit pub_methods_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer.html#a5fa74e1e010359cee2bc4e3bd00e88c0">chief_only_hooks</a> (self, outputs)</td></tr>
<tr class="memdesc:a5fa74e1e010359cee2bc4e3bd00e88c0 inherit pub_methods_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="mdescLeft">&#160;</td><td class="mdescRight">add hooks only for the chief worker  <a href="classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer.html#a5fa74e1e010359cee2bc4e3bd00e88c0">More...</a><br /></td></tr>
<tr class="separator:a5fa74e1e010359cee2bc4e3bd00e88c0 inherit pub_methods_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d7438ce4a5f233e92c33fb851a1e346 inherit pub_methods_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer.html#a4d7438ce4a5f233e92c33fb851a1e346">hooks</a> (self, outputs)</td></tr>
<tr class="memdesc:a4d7438ce4a5f233e92c33fb851a1e346 inherit pub_methods_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="mdescLeft">&#160;</td><td class="mdescRight">add hooks for the session  <a href="classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer.html#a4d7438ce4a5f233e92c33fb851a1e346">More...</a><br /></td></tr>
<tr class="separator:a4d7438ce4a5f233e92c33fb851a1e346 inherit pub_methods_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa851a77cfffed6f30b7e84eef48db84b inherit pub_methods_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer.html#aa851a77cfffed6f30b7e84eef48db84b">aditional_loss</a> (self)</td></tr>
<tr class="memdesc:aa851a77cfffed6f30b7e84eef48db84b inherit pub_methods_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="mdescLeft">&#160;</td><td class="mdescRight">add an aditional loss  <a href="classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer.html#aa851a77cfffed6f30b7e84eef48db84b">More...</a><br /></td></tr>
<tr class="separator:aa851a77cfffed6f30b7e84eef48db84b inherit pub_methods_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_attribs_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer.html">nabu.neuralnetworks.trainers.trainer.Trainer</a></td></tr>
<tr class="memitem:aaaef7ae10cc9004ee4ae0d4a5716f3c2 inherit pub_attribs_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="memItemLeft" align="right" valign="top"><a id="aaaef7ae10cc9004ee4ae0d4a5716f3c2"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>conf</b></td></tr>
<tr class="separator:aaaef7ae10cc9004ee4ae0d4a5716f3c2 inherit pub_attribs_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad03dfb4f94b5d89678545c6062d03bb4 inherit pub_attribs_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="memItemLeft" align="right" valign="top"><a id="ad03dfb4f94b5d89678545c6062d03bb4"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>dataconf</b></td></tr>
<tr class="separator:ad03dfb4f94b5d89678545c6062d03bb4 inherit pub_attribs_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d3c001018ad09650b0d74355abc41c8 inherit pub_attribs_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="memItemLeft" align="right" valign="top"><a id="a7d3c001018ad09650b0d74355abc41c8"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>evaluatorconf</b></td></tr>
<tr class="separator:a7d3c001018ad09650b0d74355abc41c8 inherit pub_attribs_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa71eb9808848fc32f681806a62d32628 inherit pub_attribs_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="memItemLeft" align="right" valign="top"><a id="aa71eb9808848fc32f681806a62d32628"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>expdir</b></td></tr>
<tr class="separator:aa71eb9808848fc32f681806a62d32628 inherit pub_attribs_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f132a7a6800fd2711513af11030ee96 inherit pub_attribs_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="memItemLeft" align="right" valign="top"><a id="a8f132a7a6800fd2711513af11030ee96"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>server</b></td></tr>
<tr class="separator:a8f132a7a6800fd2711513af11030ee96 inherit pub_attribs_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6359cc01b97e7737691bddc6d1d9b07 inherit pub_attribs_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="memItemLeft" align="right" valign="top"><a id="ac6359cc01b97e7737691bddc6d1d9b07"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>task_index</b></td></tr>
<tr class="separator:ac6359cc01b97e7737691bddc6d1d9b07 inherit pub_attribs_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef7e854340cd4d16780e1ab44ae194bc inherit pub_attribs_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="memItemLeft" align="right" valign="top"><a id="aef7e854340cd4d16780e1ab44ae194bc"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>model</b></td></tr>
<tr class="separator:aef7e854340cd4d16780e1ab44ae194bc inherit pub_attribs_classnabu_1_1neuralnetworks_1_1trainers_1_1trainer_1_1Trainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>a trainer with no added functionality </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a8a2bdbf758eeb3776308bf9049c44838"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a2bdbf758eeb3776308bf9049c44838">&sect;&nbsp;</a></span>aditional_loss()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def nabu.neuralnetworks.trainers.standard_trainer.StandardTrainer.aditional_loss </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>add an aditional loss </p>
<dl class="section return"><dt>Returns</dt><dd>the aditional loss or None </dd></dl>

</div>
</div>
<a id="a5f13484cde1db47531ea903cd4d0f627"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f13484cde1db47531ea903cd4d0f627">&sect;&nbsp;</a></span>chief_only_hooks()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def nabu.neuralnetworks.trainers.standard_trainer.StandardTrainer.chief_only_hooks </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>outputs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>add hooks only for the chief worker </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">outputs</td><td>the outputs generated by the create graph method</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a list of hooks </dd></dl>

</div>
</div>
<a id="aff614cac68779a4ba17f933b81e9254d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff614cac68779a4ba17f933b81e9254d">&sect;&nbsp;</a></span>hooks()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def nabu.neuralnetworks.trainers.standard_trainer.StandardTrainer.hooks </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>outputs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>add hooks for the session </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">outputs</td><td>the outputs generated by the create graph method</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a list of hooks </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="standard__trainer_8py.html">standard_trainer.py</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.12
</small></address>
</body>
</html>
